package com.sy.core.aliPay;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("aliPayTest")
public class AliPayTestCtl {
	@RequestMapping("pay")
	public String pay(String orderCode, String totalPrice, String subject, String productDesc, ModelMap modelMap){
		String str = PayUtil.alipay("111114", "0.01", "红包", "付钱");
		modelMap.addAttribute("str", str);
		return "/website/pay";
	}
}
